package cn.tedu.tmall.front.content.dao.repository;
import cn.tedu.tmall.front.content.pojo.po.ArticleDetailPO;
import cn.tedu.tmall.front.content.pojo.po.ArticlePO;
import cn.tedu.tmall.front.content.pojo.vo.PageDataVO;

import java.util.List;

public interface IArticleRepository {
    PageDataVO<ArticlePO> listArticleByCategoryId(Long categoryId, Integer pageNum, Integer pageSize);
    ArticlePO getArticleById(Long articleId);

    ArticleDetailPO getArticleDetail(Long articleId);
}
